import { _decorator, Component, Label, Node, Sprite, ProgressBar, EditBox, Slider, PageView, ScrollView, Toggle, UITransform } from 'cc';
const { ccclass, property } = _decorator;

export const UICompType = {
    Label: Label,
    Sprite: Sprite,
    ProgressBar: ProgressBar,
    EditBox: EditBox,
    Slider: Slider,
    PageView: PageView,
    ScrollView: ScrollView,
    Toggle: Toggle,
    UITransform: UITransform
}

export enum UIAnimationType {
    none,
    fade,
    scale,
    scaleX,
    scaleY,
    topIn,
    bottomIn,
    leftIn,
    rightIn
}